package cn.cj.erp.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 借入|借出归还状态枚举
 *
 * @author chenjian
 */
public enum BackStatusEnum implements BaseEnum {
    NO("0", "未归还"),
    PART("1", "部分归还"),
    ALL("2", "全部归还"),
    ;

    @JsonValue
    private final String value;
    private final String label;

    BackStatusEnum(String value, String info) {
        this.value = value;
        this.label = info;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
